// 配置折叠框按钮的响应事件
function configCollapse(){
  const buttons = [...document.querySelectorAll(".collapse_button")]
  for (let i = 0; i < buttons.length; i++) {
   const bt = buttons[i]
   console.log(bt)
   bt.onclick = function({target}){
       const contentDiv = target.nextElementSibling
       if (contentDiv.style.display){
           contentDiv.style.display = ""
           bt.innerText = "+"
       }else{
           contentDiv.style.display = "block"
           bt.innerText = "-"
       }
   }
}
}

// 图片加载完成回调
function imageOnLoad({target}){target.className=''}



(function f(argument) {
    configCollapse();
})();